ModifyBaseConfig
Description
modify the login security settings record.
Request Method
POST
Request Path
/apsara/route/aegis/ModifyBaseConfig
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
Type | BODY | string | Yes | No sample value for this parameter. | Common logon configuration record types. Valid values: login_common_location: indicates common login place login_common_ip: indicates common login IP login_common_time: indicates common login time login_common_account: indicates a common login account |
Target | BODY | string | No | No sample value for this parameter. | specifies the host asset. description this parameter needs to be specified when obtaining the login security configuration record of the specified asset. please refer to the request example for the specific format. |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
Config | BODY | string | No | No sample value for this parameter. | login configuration record, for example: Common login address:{"location":"Ganzhou City"} common login IP:{"ip":"x.x.x"} common login time:{"startTime":"16:18","endTime":"16:18"} common login account:{"account":"dbaadmin"} |
version | BODY | string | No | 2016-01-01 | version of api |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
RequestId | string | no demo value | request ID. |
Example
Successful Response example
{
"RequestId":"no demo value"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}